/**
 * @returns 是否是pc端
 */
export const verifyPc = () => {
  const deviceModel = uni.getSystemInfoSync().deviceModel;
  return deviceModel === "PC";
};

/**
 * @returns 用户是否有对应权限
 */
export const isPermission = code => useAuthStore().authButtonList.includes(code);
